package com.hq.ims.data.entityenum;

import com.hq.web.penum.IBaseEnum;

public enum EnumRootInformation implements IBaseEnum {

    RootInformation(0, "源信息"),

    Derivative(1, "派生信息");

    private final int code;

    private final String typeName;

    EnumRootInformation(int code, String typeName) {
        this.code = code;
        this.typeName = typeName;
    }

    @Override
    public int getCode() {
        return code;
    }
    @Override
    public String getValue() {
        return typeName;
    }
}
